using UnityEngine;
using System.Collections;

public class GameOver : MonoBehaviour 
{
	public AudioSource buttonPress;

	// Use this for initialization
	void Start () 
	{
	
	}
	
	// Update is called once per frame
	void Update () 
	{
	
	}
	
	void OnGUI()
	{
		GUI.Box(new Rect(30, 30, 470, 275),"Boom Doom");
		GUI.Label(new Rect(235, 60, 250, 20), "Game Over");
		
		if(GUI.Button(new Rect(225, 92, 100, 30), "New Game??"))
		{
			buttonPress.Play();
			Application.LoadLevel("DifficultyChoice");
		}
		if(GUI.Button(new Rect(225, 132, 100, 30), "Main Menu"))
		{
			buttonPress.Play();
			Application.LoadLevel("MainMenu");
		}
		if(GUI.Button(new Rect(225, 172, 100, 30), "High Score"))
		{
			buttonPress.Play();
			Application.LoadLevel("HighScore");
		}
	}
}
